// -----------------------------
// Author: 		Dhaenens Gert	
// Creation: 	2/15/2015 8:55:57 PM				
// -----------------------------

#include "Game.h"

#include "GameState.h"

Game::Game()
{
}

Game::~Game()
{
}

// Release the Game
// Usually just 'delete this'
void Game::Release()
{
	delete this;
}

// Queries the game for it's configs
void Game::QuerySettings(Flow::GameConfig& config)
{
	config.Caption = "LootQuest (Powered by Flow)";
	config.Width = 800;
	config.Height = 600;
	config.Fullscreen = false;
	config.VSync = true;
}

// Called when the Game should initialize
// Use this method to load the configurations
void Game::OnInitialize()
{
	// Load the resource packages
	Flow::Engine::Files->LoadPackage(_T("Resources"), _T(".\\Resources.content"));

	// Add the States
	Flow::Engine::States->AddState(new GameState());
	

	Flow::Engine::States->PushState("GameState");
}

// Called when the Game is Activated
void Game::OnActivate()
{
	
}
// Called when the Game is Deactivated
void Game::OnDeactivate()
{

}